import QtQuick 1.0

Item {
    id: muDelegate
    width: parent.width; height: 35

    property alias textColor: muText.color;
    property int muID: metricID

    Text {
        id: muText
        width: parent.width;
        text: metricName
        anchors {
            left: parent.left;
            top: parent.top
        }
        horizontalAlignment: Text.AlignLeft
        verticalAlignment: Text.AlignVCenter
        font.family: nokiaStandard.name;
        font.pixelSize: 20
        color: "#282828";
    }

    states: [
        State {
            name: "highlightState"
            PropertyChanges {
                target: muDelegate;
                textColor: "#a0b800";
            }
        }
    ]

}
